﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace DianDian.API.Domain
{
    [DataContract]
    public class Post : BaseObject,G.Data.IGridItemSize
    {
        #region Text
        [DataMember(Name = "format")]
        public string Format
        {
            get;
            set;
        }

        [DataMember(Name = "title")]
        public string Title
        {
            get;
            set;
        }

        [DataMember(Name = "body")]
        public string Body
        {
            get;
            set;
        }

        #endregion

        #region audio
        [DataMember(Name = "caption")]
        public string Caption
        {
            get;
            set;
        }

        [DataMember(Name = "albumName")]
        public string AlbumName
        {
            get;
            set;
        }

        [DataMember(Name = "songId")]
        public string SongId
        {
            get;
            set;
        }

        [DataMember(Name = "albumId")]
        public string AlbumId
        {
            get;
            set;
        }

        [DataMember(Name = "cover")]
        public string Cover
        {
            get;
            set;
        }

        [DataMember(Name = "artistId")]
        public string ArtistId
        {
            get;
            set;
        }

        [DataMember(Name = "musicSinger")]
        public string MusicSinger
        {
            get;
            set;
        }

        [DataMember(Name = "coverNormal")]
        public string CoverNormal
        {
            get;
            set;
        }

        [DataMember(Name = "coverLarge")]
        public string CoverLarge
        {
            get;
            set;
        }

        [DataMember(Name = "coverSmall")]
        public string CoverSmall
        {
            get;
            set;
        }

        [DataMember(Name = "audioType")]
        public string AudioType
        {
            get;
            set;
        }

        [DataMember(Name = "playerUrl")]
        public string PlayerUrl
        {
            get;
            set;
        }

        [DataMember(Name = "musicName")]
        public string MusicName
        {
            get;
            set;
        }
        #endregion

        [DataMember(Name = "type")]
        public string Type
        {
            get;
            set;
        }

        [DataMember(Name = "tags")]
        public string[] Tags
        {
            get;
            set;
        }

        [DataMember(Name = "blogCName")]
        public string BlogCName
        {
            get;
            set;
        }

        [DataMember(Name = "blogName")]
        public string BlogName
        {
            get;
            set;
        }

        [DataMember(Name = "commentCount")]
        public float CommentCount
        {
            get;
            set;
        }

        [DataMember(Name = "postId")]
        public string PostId
        {
            get;
            set;
        }

        [DataMember(Name = "createTime")]
        public float CreateTime
        {
            get;
            set;
        }

        [DataMember(Name = "postUrl")]
        public string PostUrl
        {
            get;
            set;
        }

        [DataMember(Name = "likeCount")]
        public float LikeCount
        {
            get;
            set;
        }

        [DataMember(Name = "reblogCount")]
        public float ReblogCount
        {
            get;
            set;
        }

        [DataMember(Name = "blogUuid")]
        public string BlogUuid
        {
            get;
            set;
        }


        public int ColSpan
        {
            get;
            set;
        }

        public int RowSpan
        {
            get;
            set;
        }

        public int Tag
        {
            get;
            set;
        }
    }


}
